﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NewsList.aspx.cs" Inherits="NewsList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>阿城公安分局</title>
    <meta name="keywords" content="web design, portfolio, business, classic, modern, stylish, clean, creative, php contact form, lightbox, css, html, jquery, slider" /> 

<!--[if gt IE 5.5]>
        <script type="text/javascript" src="unitpngfix.js"></script>
<![endif]-->
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

-->
</style>
     <link href="css/style.css" rel="stylesheet" type="text/css">	
    
     
	
	
	
	<!-- End of css -->
	
	<!-- Some javascript -->		
		
        <script language="javascript" type="text/javascript" src="js/MSClass.js"></script>	
	<!-- End of javascript -->
    
	
	<!-- Start of custom javscript -->
</head>
<body>
    <form id="form1" runat="server">
    <!-------------------------------------------------------- top band area start -------------------------------------------------------->

<div class="top_band ">
  <div style="background:url(images/top_bg.jpg) 0 0 no-repeat; height:71px; width:100%;position: relative;"></div>
	<div class="container ">
		<div class="logo"></div>
		<div class="nav_container" style=" float:right;">
		<a href="index.aspx" class="nav_link">首页</a>
                 <a href="NewsList.aspx?ml=<%= Server.UrlEncode("平安阿城")%>" class="nav_link">平安阿城</a>
                 <a href="NewsList.aspx?ml=<%= Server.UrlEncode("警营文化")%>" class="nav_link">警营文化</a>
                 <a href="NewsList.aspx?ml=<%= Server.UrlEncode("法律法规")%>" class="nav_link">法律法规</a>
                 <a href="NewsList.aspx?ml=<%= Server.UrlEncode("下载专区")%>" class="nav_link">下载专区</a>
                 <a href="NewsList.aspx?ml=<%= Server.UrlEncode("网站导航")%>" class="nav_link">网站导航</a>
                 <a href="NewsList.aspx?ml=<%= Server.UrlEncode("文件公报")%>" class="nav_link">文件公报</a>
                 <a href="NewsList.aspx?ml=<%= Server.UrlEncode("他山之石")%>" class="nav_link">他山之石</a>
		</div>
	</div>
</div>

<!-------------------------------------------------------- top band area end -------------------------------------------------------->

<!-------------------------------------------------------- banner band area start -------------------------------------------------------->




<div class="home_middle_content">
  <div class="container">
      <div style="float:left; background:#F1FAFA; padding:20px 20px; width:920px;">
      
      <div style="text-align:center;">
      <div style="text-align:left; height:800px;" class="content2"> 
  <div class="content_header" style="background:none;"><div class="sty-list" style="color:#333;" href="index-list.html"><%= Category%></div></div>
   <div  style="padding-left:20px; padding-top:20px;">
       <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
           EnableModelValidation="True" ShowHeader="False" Width="95%" 
           CellPadding="4" ForeColor="#333333" GridLines="None">
           <AlternatingRowStyle BackColor="White" />
           <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID" ReadOnly="True">
                <ItemStyle Width="5%" />
                        </asp:BoundField>
               <asp:BoundField DataField="EditDate" DataFormatString="{0:yyyy/MM/dd}" >
               <ItemStyle Width="10%" />
                        </asp:BoundField>
               <asp:TemplateField HeaderText="标题" ShowHeader="False">
                    <ItemTemplate>
                        <a href='News.aspx?id=<%# Eval("ID") %>' ><%# Eval("Title") %></a>
                        &nbsp;&nbsp;&nbsp;<%# GetTopImage(Container.DataItem) %>                                
                    </ItemTemplate>
               </asp:TemplateField>
           </Columns>
           <EditRowStyle BackColor="#7C6F57" />
           <EmptyDataTemplate>
               当前类别无内容
           </EmptyDataTemplate>
           <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
           <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
           <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
           <RowStyle BackColor="#E3EAEB" />
           <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
       </asp:GridView>
</div>
 <div class="read_more_btn_container"><a href="#" class="pagination">返回主页</a></div>
</div>
      </div>
  </div>  
  <div class="copyright_band_bg">
	<div class="container">
		<div class="copyright_content">工作电话：0451-12345678&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp地址：黑龙江省哈尔滨市阿城区123号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copyright &copy; 阿城公安分局&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 设计：哈尔滨零跃科技开发有限责任公司</div>		
	</div>
</div>
  </div>
</div>
<!-------------------------------------------------------- content area end -------------------------------------------------------->

<!-------------------------------------------------------- copyright area end -------------------------------------------------------->
    </form>
</body>
</html>
